package com.ruoyi.mateDevice.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateDevice extends BaseEntity {
    private Long mtdeviceId;
    private Long deptId;
    private String companyName;
    private String deviceName;//设备名称
    private String deviceNum;//设备编号
    private String isCalibration;//是否校准
    private String teParameter;//工艺参数
    private String deviceType;//设备型号
    private String deviceManufacturer;//生产厂家
    private String purchaseDate;//购入时间
    private String deviceUsage;//用途
    private String deviceDept;//使用部门
    private String deviceLocation;//使用地点
    private List<MateDeviceModel> mateDeviceModels;
    private String isProduction;//0是生产设备 1是检验设备
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    public String getIsProduction() {
        return isProduction;
    }

    public void setIsProduction(String isProduction) {
        this.isProduction = isProduction;
    }

    public String getIsCalibration() {
        return isCalibration;
    }

    public void setIsCalibration(String isCalibration) {
        this.isCalibration = isCalibration;
    }

    public String getTeParameter() {
        return teParameter;
    }

    public void setTeParameter(String teParameter) {
        this.teParameter = teParameter;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        this.deviceNum = deviceNum;
    }

    public List<MateDeviceModel> getMateDeviceModels() {
        return mateDeviceModels;
    }

    public void setMateDeviceModels(List<MateDeviceModel> mateDeviceModels) {
        this.mateDeviceModels = mateDeviceModels;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getMtdeviceId() {
        return mtdeviceId;
    }

    public void setMtdeviceId(Long mtdeviceId) {
        this.mtdeviceId = mtdeviceId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceManufacturer() {
        return deviceManufacturer;
    }

    public void setDeviceManufacturer(String deviceManufacturer) {
        this.deviceManufacturer = deviceManufacturer;
    }

    public String getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(String purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public String getDeviceUsage() {
        return deviceUsage;
    }

    public void setDeviceUsage(String deviceUsage) {
        this.deviceUsage = deviceUsage;
    }

    public String getDeviceDept() {
        return deviceDept;
    }

    public void setDeviceDept(String deviceDept) {
        this.deviceDept = deviceDept;
    }

    public String getDeviceLocation() {
        return deviceLocation;
    }

    public void setDeviceLocation(String deviceLocation) {
        this.deviceLocation = deviceLocation;
    }
}
